Skip to content

Update mongo-cdc.md#119

Open
juanpardo wants to merge 4 commits intomainfrom
juanpardo-mongodb-cdc-gitbook-merge
Open

Update mongo-cdc.md#119
juanpardo wants to merge 4 commits intomainfrom
juanpardo-mongodb-cdc-gitbook-merge

Conversation

@juanpardo
Copy link

@juanpardo juanpardo commented Feb 11, 2026

Reviewed and merged changes from gitbook repo

What's Inside

Preview

Highlights

Checklist

  • Link to issue this PR refers to (if applicable):
  • CLA is signed

Summary by CodeRabbit

  • Documentation
    • Improved MongoDB CDC integration docs with stepper-style setup guidance, including creating a custom role and renumbered, clearer steps for read-only access and user setup.
    • Clarified UI actions for find, changeStream, and collStats permissions with explicit mappings.
    • Streamlined IP access instructions with updated production IP notes and retained PrivateLink support directions.
    • Enhanced connection setup details for SCRAM and X.509 authentication, with expanded guidance on retrieving connection strings.
    • Updated column-name token examples to obkt, cbkt, and dot and simplified unsupported Decimal128 data type note.

Reviewed and merged changes from gitbook repo
@juanpardo juanpardo requested a review from bmunkholm February 11, 2026 12:10
@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2026

Walkthrough

This PR revises the MongoDB CDC documentation: restructures setup into stepper-style UI guidance (including Create Custom Role details), replaces the static outbound IP table with a dynamic form note and PrivateLink support direction, clarifies connection/auth paths, and renames column tokens to _obkt_, _cbkt_, and _dot_.

Changes

Cohort / File(s) Summary
MongoDB CDC Documentation
docs/cluster/integrations/mongo-cdc.md
Rewrote setup as step-by-step UI guidance (Create Custom Role, read-only actions, Create User, IP access, connection string). Removed preview/caution block and static outbound IP table; added dynamic form note and PrivateLink support note. Split SCRAM vs X.509 auth flows, clarified action group mappings, updated column token replacements to _obkt_, _cbkt_, _dot_, and simplified Decimal128 handling; assorted wording/formatting edits.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped through steps and polished the trail,
Role forms now guide where actions prevail,
Brackets become _obkt_ and _cbkt_ bright,
_dot_ keeps names tidy through day and night,
Docs are neater now — a carrot for delight! 🥕

🚥 Pre-merge checks | ✅ 2 | ❌ 2
❌ Failed checks (2 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Update mongo-cdc.md' is vague and does not clearly convey the specific changes made; it merely states that a file is being updated without indicating what aspects were changed. Use a more specific title that describes the main changes, such as 'Refactor MongoDB CDC documentation with stepper-style setup steps and token replacements' or similar.
Description check ❓ Inconclusive The description includes the required template sections but provides minimal detail; 'What's Inside', 'Preview', and 'Highlights' sections are present but empty, and the checklist items remain unchecked without explanations. Fill in the 'What's Inside', 'Preview', and 'Highlights' sections with substantive details about the changes, and check/explain the checklist items.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch juanpardo-mongodb-cdc-gitbook-merge

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/cluster/integrations/mongo-cdc.md`:
- Around line 244-245: The documentation text is inconsistent: `_obkt_` and
`_cbkt_` are shown without surrounding parentheses but `_dot_` is wrapped in
parentheses; update the sentence so `_dot_` is presented the same way as the
other tokens (remove the extra parentheses around `_dot_`) in the sentence
"column names containing dots (`.`) are not supported and are replaced with
(`_dot_`)", leaving "replaced with `_dot_`" to match the format used for
`_obkt_` and `_cbkt_`.
🧹 Nitpick comments (2)
docs/cluster/integrations/mongo-cdc.md (2)

63-65: Prefer active voice and improve example formatting.

Line 63 uses passive construction ("A form will appear"). Line 65 is missing an article and could format the example more clearly.

📝 Suggested improvements
-   Under **Custom Roles**, click **Add New Custom Role**. A form will appear.
+   Under **Custom Roles**, click **Add New Custom Role**. This opens a form.

-3. Fill in the Custom Role Name - For example, use CrateDB CDC integration.
+3. **Enter a Custom Role Name**  
+   For example: `CrateDB CDC integration`.

Based on learnings, Markdown documentation should use active voice and maintain a concise, neutral guide tone.


129-129: Consider splitting the long sentence for readability.

The sentence on line 129 is 31 words long. Splitting it would improve scannability.

✂️ Suggested split
-   production, it is recommended to specify only the required IPs. When you create a new Mongo CDC integration in CrateDB Cloud, the form will show you the specific IP addresses you need to allow for it to work.
+   production, specify only the required IPs. When you create a new Mongo CDC integration in CrateDB Cloud, the form displays the specific IP addresses to allow.

Based on learnings, documentation should maintain a concise, neutral guide tone.

Copy link
Contributor

@bmunkholm bmunkholm Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# MongoDB CDC

I believe we agreed a long time ago to remove the "preview"?
In that case, we should also remove the caution below. Not sure if it's still restricted?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not restricted as far as I know. Will adapt a few things too then

@bmunkholm
Copy link
Contributor

Would be nice to also add the Stepper for the "steps".
You can just add ":::::{stepper}" before the first "Step x", and end it with ":::::". Then also remove the "Step x" part of the headline.

juanpardo and others added 3 commits February 13, 2026 09:33
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Brian Munkholm <bmunkholm@gmail.com>
@juanpardo juanpardo requested a review from bmunkholm February 13, 2026 09:09
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
docs/cluster/integrations/mongo-cdc.md (3)

78-78: ⚠️ Potential issue | 🔴 Critical

Fix typo: "Auhentication" → "Authentication".

The word "Authentication" is misspelled in the tab label.

✏️ Fix spelling error
-:::{tab} SCRAM Auhentication
+:::{tab} SCRAM Authentication

96-96: ⚠️ Potential issue | 🟡 Minor

Use consistent casing: "X.509" (not "x.509").

The standard format for the X.509 certificate standard uses uppercase "X". Lines 45, 157, and 189 already use "X.509".

🔧 Fix casing consistency
-:::{tab} x.509 Authentication
+:::{tab} X.509 Authentication

189-189: ⚠️ Potential issue | 🔴 Critical

Fix typo: "Auhentication" → "Authentication".

The word "Authentication" is misspelled in the tab label.

✏️ Fix spelling error
-   :::{tab} X.509 Auhentication
+   :::{tab} X.509 Authentication
🤖 Fix all issues with AI agents
In `@docs/cluster/integrations/mongo-cdc.md`:
- Line 182: Fix the typo in the tab label by replacing the string "SCRAM
Auhentication" with "SCRAM Authentication" so the tab header is spelled
correctly; update the exact label text used in the documentation (the "SCRAM
Auhentication" token) to "SCRAM Authentication".
🧹 Nitpick comments (3)
docs/cluster/integrations/mongo-cdc.md (3)

59-59: Consider removing unnecessary passive construction.

The phrase "A form will appear" uses passive voice. Based on learnings, prefer active constructions in documentation.

✍️ Suggested active voice alternative
-   Under **Custom Roles**, click **Add New Custom Role**. A form will appear.
+   Under **Custom Roles**, click **Add New Custom Role**.

The subsequent numbered step naturally continues the flow without needing to state that a form appears.


65-67: Simplify wordy passive constructions.

The phrase "to be found under" is wordy. Simplify to "found in" or "under" for more concise documentation. Based on learnings, the cloud-docs repository should use concise, neutral guide tone.

✍️ Suggested simplification
   Assign the following actions or roles to the custom role:
-   - `find`, to be found under Collection Actions/Query and Write Actions
-   - `changeStream`, to be found under Collection Actions/Change Stream Actions
-   - `collStats`, to be found under Collection Actions/Diagnostic Actions
+   - `find` (found in Collection Actions/Query and Write Actions)
+   - `changeStream` (found in Collection Actions/Change Stream Actions)
+   - `collStats` (found in Collection Actions/Diagnostic Actions)

61-61: Clarify the Custom Role naming instruction.

The instruction could be more direct and explicit about what the user should enter in the field.

✍️ Suggested clarification
-3. Fill in the Custom Role Name - For example, use CrateDB CDC integration.
+3. **Enter a Custom Role Name**
+   Provide a descriptive name for the custom role (e.g., "CrateDB CDC integration").

#### Configure Connection
1. Choose **Create New Connection** or select an existing one.
2. Fill in the following details:
:::{tab} SCRAM Auhentication
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Fix typo: "Auhentication" → "Authentication".

The word "Authentication" is misspelled in the tab label.

✏️ Fix spelling error
-   :::{tab} SCRAM Auhentication
+   :::{tab} SCRAM Authentication
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
:::{tab} SCRAM Auhentication
:::{tab} SCRAM Authentication
🧰 Tools
🪛 LanguageTool

[grammar] ~182-~182: Ensure spelling is correct
Context: ...he following details: :::{tab} SCRAM Auhentication - Connection Name: Provide a unique name...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
In `@docs/cluster/integrations/mongo-cdc.md` at line 182, Fix the typo in the tab
label by replacing the string "SCRAM Auhentication" with "SCRAM Authentication"
so the tab header is spelled correctly; update the exact label text used in the
documentation (the "SCRAM Auhentication" token) to "SCRAM Authentication".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants